package com.px.business.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 试卷对象 qnr_paper
 *
 * @author 品讯科技
 * @date 2024-08
 */
@Data
public class QnrPaper {
    private static final long serialVersionUID = 1L;

    /**
     * 试卷标识
     */
    private Long paperId;

    /**
     * 申请标识
     */
    private Long evaluationApplicationId;

    /**
     * 标题
     */
    private String title;

    /**
     * 有效期限
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date periodValidity;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createdAt;


    /**
     * 创建人
     */
    private Long createdBy;

    private List<QnrPaperClass> qnrPaperClassList;

    /**
     * 调查问卷问题数量
     */
    private Long questionQuantities;

    private long asnUserId;

    public QnrPaper() {
    }

    public QnrPaper(Long evaluationApplicationId) {
        this.evaluationApplicationId = evaluationApplicationId;
    }

}
